import java.io.IOException;

public class ClientLauncher {

    public static void main(String[] args) {
        /*Scanner sc = new Scanner(System.in);
        String host;
        do {
            host = sc.nextLine();
        } while (!host.matches("[\\d]{1,3}\\.[\\d]{1,3}\\.[\\d]{1,3}\\.[\\d]{1,3}"));
        String port;
        do {
            port = sc.nextLine();
        } while (!port.matches("([1-9]|[1-5]\\d{4}|6[1-4]\\d{3}|65[1-4]\\d{2}|655[1-2]\\d|6553[1-5])"));*/
        try {
//            Client client = new Client(host, Integer.parseInt(port));
            Client client = new Client("127.0.0.1", 6789);
            client.start();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
